﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32;

namespace Mimoza.RdpPlugin
{
    public class StartupFileSync
    {
        const int StartLaunchId = 50;
        const int MaxNumberOfLaunchId = 10;

        public StartupFileSync(string folderPath, string fileExt)
        {
            FolderPath = folderPath;
            FileExtention = fileExt;
        }

        public void Do(string folderTo)
        {
            PluginFileSync pluginFileSync = new PluginFileSync(FolderPath, FileExtention);
            pluginFileSync.Do(folderTo, true);
        }

        public string FolderPath
        {
            get { return m_folderPath; }
            set { m_folderPath = value; }
        }

        public string FileExtention
        {
            get { return m_fileExtention; }
            set { m_fileExtention = value; }
        }

        /*private void EraseAllLaunchIds()
        {
            //RegistryKey appKey = Registry.LocalMachine.OpenSubKey();
        }*/

        string m_folderPath;
        string m_fileExtention;

    }
}
